fixed the bug - validate candidate list