Fixes issues with parentheses