cleanup network settings