deal with timestamp duplication at the begining of a stream