Fixed bug in channels.