BUG:fix a bug in SyntacticAnalyzer