other fixes in examples