fix session length statistics