clean up view