use get instead of read in readString