shows distance on edit page