small refactoring of private fields in reader