fix for problems retrieving subnets in CIDR notation