fixed typo in "register"