log out fix