fixed the example

There was a mistake in the example