make html valid