Fixed the self registration.