temporarily disable memory stream