fix candidates issue