Fixed html after finding validation errors.