Fixed bug in example.