fixed the reader