Fix targets of agents