Minor fix

The final code sample is wrong. It leads to an error message, if used.