can channel be undefined?