fixed typo in read