fixed some movement issues