fix bug when overwrite same row key and ts