fixed random order of multiple syntax error messages