found a bug and when try to fix sample app. i was corresponding null check leak.
Merge pull request #15 from nohana/bugfix/sampleApp

found a bug and when try to fix sample app.