dont allocate extra unused channels, fixes issue #49