another fix on candidateController