try to fix session bug