Fixed session issue