delete uneeded view