fix a bug of using the wrong function of getting the channelID
delete a redundant sentence