fix example

fixes #6