fix session getter