Fixed startup error showing wrong registration state