fix issue with invalid timeline events