fix session configuration