fixed parentheses parsing for CLI portion.