fixing invalid html