fix issue with implicit direction and first stop distances