Example code fix

seems to be an error in example code