Fixed error with reading wrong number of characters.