rename onEventMode to onEventIo
fix build