fix html bugs