Fixes #42 example errors