fix session in intent_registry