logout bug