fixes to examples