Fix syntax error on the example
Add try catch to prevent uncatched exception
fix
Merge pull request #1 from instabledesign/master

Fix syntax and fatal error on the example