Fix unpackChannels()