fixed parenthesis bug