fix html tag errors