fix the startScan failed bug.