fix minCandidates