remove html errors