remove dependance on removed setting: DistanceUnit