Fixed validation syntax errors