another attempt to fix truncation, after the last one ended in Unicode explosions