Patch for compile error