fix display of agent_ip() again