Fixed getting subnetwork