debug syntax check