Fix a bug that cid is missed in channel window.