fix html validation and indents