fix html formatter