small logout bug