fix session logger