cleaning up view