fix major bug with unmatched parens in spec