bug logout