Fixed bugs in the ParserReader class.