- fixed a bug while write to long offsets