Fixed bug with parentheses