fixing typo in sample that was causing panics
Merge pull request #16 from mattkanwisher/master

fixing typo in sample that was causing panics