fix sample code
Merge pull request #1 from zakuni/master

fix sample code