fix local reopen session