tidy up of html