fixing html errors