Fix incorrect channel number use in register special code.