Typo in registry function call