fix node writable streams