fixed bug with sort by distance on home page