patch for src/main/xlat.c