fix reference error; fix register
fix an error that occurs if no `params` passed
explode helper.register to `typo`