fix local session