fixed code snippet
Merge pull request #209 from kemiz/patch-7

fixed code snippet