array port are detected for sub-component

The editor put array port of sub-component well.