fix typo of reg