Fixing relation between agent and host