fixed DistanceManager