bug fixes to reader feature