memory stream OK