Parenthesis bug fix