removing useless views