Patch for CTools