set_chanel bug fix