fixed session problem