deal with same timestamp