adjust patch for nightly build