trying to fix wrong check if channelid is empty