fixes garbled text