bug fix for device_channel

dev_channel can be 0:0 to 9:9 rather than 0:0 - 1:9