cleaning the view