fix movement issue