delete unneeded views