some html tidy ups