Set parameterized virtual interface for an array of agents

It is typo. I have updated the code and getting same error.