made a small change so dashes in group names work