Add the device lists of scanning to fix the crash issue