fix networksetup.py