Bugfix in Reader class