swap to stream contexts