remove a function call from Filter#filter