stage0: fix channel buffer