distance measurement bug (refresh user location before measurement)