Fixes few defects in examples at #135
Merge pull request #304 from yurydelendik/examples-1

Fixes few defects in examples at #135