fixing bug in listEvents