Fix sample code
Merge pull request #1 from kenhkan/master

Fix sample code