fix bug that led to a negative timestamp of the first path entry