fix movement bug, add some more prints