Fix distance with haversine and fix distance bar