fix html generated