remove unneeded views