fix bug with filter chaining