bug fix: register success and failed delegate method did not run