make spatial filters work