discover_network task - minor fix