fixing html validation errors