fix session arg