added patch to support parentheses in labels