updated the patches for bugs 823097 and 989043. new patch for bug 991734.