fixed the base controller method onRegister no working
Merge remote-tracking branch 'origin/v3'