improve flexibility of location filter interface