Custom Patch for smack api