fixed the crash.
Merge pull request #10 from accuvally/master

fixed the crash.
Merge commit '88f9831ac4e90b3fde27293b3da92dc5d075ab89'