handle the case when event timestamp is zero