fix NetworkPolicyManager.from