fix: number of event register should manage at handler.h.