track.distance fix