Typo in registration

Fixes issue #1461