removes unused view.