added 0 channel handling