Trimming extra parenthesis