minor fixes to examples