fixes to example