correct invalid html