add patches for bug 1027354