fixed bug in channel<>label assignment