small changes to reader