Fix missing link variable declaration
Fix broken channel name regex