Fixed bug where N-term character was crashing reading.