change how to init the register
Merge remote-tracking branch 'origin/develop/register' into develop/stack