fixed a minor issue in composite components with multiple delegated ports