fixes an invalid html tag