modify eventDispatcher