bug fix for filter stack.