minor work starting to fix issues in the reader