fix typos in patch for bug 870220