Fix incorrect sample code
Merge pull request #648 from asyncanup/patch-1

Fix incorrect sample code