remove unused remove context items from stream