Fix channel assingment error