fixing HTML validation errors