Patch for mail merge