tidy up views