Fix a small typo which prevents registering

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>
Merge pull request #1879 from Yoshi2889/typo1

Fix a small typo which prevents registering