fix session binding