fix the startScan failed bug.
Merge pull request #7 from lizhijumacc/master

fix the startScan failed bug.