tidy up some of the views