fix typo in RegisterEventListenersAndSubscribersPass