patch for bug 917188