fixed blank screen during failed registration