fix get_network call