clear dataOffset