Fixed an example

Couple bugs in an example