fixed issue with movement