fix html markup issues