fixed an error in the example (due to prev rev)