fix HTML validation errors