Fixes html errors