small fix on agent.live