fix candidates with no id