Fix validation errors.