fixed some filter problems