small bug fix in BufferedParser for text extractor