revise the bug in the statementparser.java