minor changes in examples/reader