Modified: how to register eventbus