fixes to get_networks