fix multiple channel bug