Fix number of channels checked in scanchannels, continue to troubleshoot