verify candidatesType