updated how channels are parsed