removing view cruft