only set the policy if it exists