modify distance tracker with location filter