fix for un-emitted registeredFailed event
Revert "fix for un-emitted registeredFailed event"

This reverts commit 94ba60dc6cd94775a9001f52bb5a17ef5fbce5eb.