fix candidate type