correct W3C validation errors