Fixed a readString bug.