Fix validation error