fix memory stream