fix html convert issue