rewrite network manager fix