add correct distance value