fixes location filter