fix: error when network name is empty