error fixed in delete candidates