normalize parenthesis