fix log out alert