diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php
index 882463c..ae45a88 100644
--- a/src/Form/SettingsForm.php
+++ b/src/Form/SettingsForm.php
@@ -100,7 +100,7 @@ class SettingsForm extends ConfigFormBase {
 
       $form['remotes'][$remote_id]['channels'] = [
         '#type' => 'container',
-        '#prefix' => '<div id="channels-$remote_id" class="channels-container">',
+        '#prefix' => "<div id='channels-{$remote_id}' class='channels-container'>",
         '#suffix' => '</div>',
       ];
       $remote_enabled = $form_state->getValue([
