minor fixes to example