fixes in location filter