fix boolean type
Merge pull request #16 from yuyichao/master

fix boolean type