Use correct id to get channel jid
Fix issues related to channel creation