remove unneeded view