displaying syntax errors