minor fixes to the example