fix channel parsing