clean up all the crap in views