stop if syntax errors occurred