fix #10
fix bug when starting
Merge pull request #14 from abc549825/master

fix #10