Fixed a problem related to empty parentheses