rename candidateGroupses to candidateGroups