fixed bug, error checking for nochannels.txt