add patch for bug 981707