fix a crash problem
Merge pull request #89 from xuzhe/master

fix a crash problem