new startScan function bug fix