fixed the bug, moving seems to be working