detach all views, even if the file has not yet been loaded