fixed bug in candidate coordinates
fixed bug in candidate coordinates