set channel numbering to be zero-indexed