some html validation fixes