fixed recoverSession