Fix code example

Hello,

The example had an error.

Regards