on error call initRegistration