Fix upgrade error in channel.