++improve for FilteringStream