trying to fix session problem