more patching for IAM support
one more fix for the patch rules