fix old session