fixed setEventManager