Fix garbled output.