fix channel.js