patch for bug 13283