fix channel bug