make the HTML valid