fix bug in get.latest.evt()