removes unused view