Fixed add channel bug from last commit.