cleans up views.