fix cleaning up interface state for reload