fix event time bug