fix network type