[fix] distance calc, now it shout work