capi patching