Fix validation syntax