remove invalid filter kwarg