Patch for Advanced theme