fix lingering error screen on sign in page