fixed parenthesis problem in AST parsing the expressions