validation syntax fixes