fix network prefixes