syntax error diagnostic tune up