fixed move_instance