fix logic for dds handling of multiple channels