fixed validation syntax error