Revert "change the register option"

This reverts commit 213f9181a31dadb007583222ab94001231c0e497.
simplify the register step