tidy up the views