fix NameError in example
Merge pull request #39 from suzaku/patch-2

fix NameError in example