try to speedup write