修复issue22
Merge pull request #23 from jinzhubaofu/master

解决issue22的几个问题