Fixed extra returned value in read().