writeStream fix