more fixes in the examples