fix problem that missing  long file write data