use self.console.getEventID to retrieve the correct event id: removes some warnings in PyCharm