fixing the big random direction changes