fixed error moving while swapping bodies.