Fixed the registration