candidates bug fixed