fix logout display issue