fix component i/o ports for vector of networks