fixed agent resource reference