added duplicated chan id validation