remove uneeded views