fix html format bug