fix the 10s logout bug