delete unneeded view