fixed small session issue