fixed move unit bug