fix session get bug