fix the reader