a little change, make it better
Merge pull request #22 from hujinpu/master

fix some warnings