fix getting network name