fixed parenthesis issues