Fixed : correct some mistakes in event manager and event dispatcher

Fixed : correct some mistakes in event manager and event dispatcher