changes candidates.candidate to candidates.name