fixed write async