fixed movepair bug