diff --git a/modules/core/engine.py b/modules/core/engine.py
index 255d7ee311d65050873914c060839b42fe61ddfc..ffa463bee850b726455c5d4f7069da2284ad4c26 100644
--- a/modules/core/engine.py
+++ b/modules/core/engine.py
@@ -212,7 +212,8 @@ class SoundSystem():
 
         # LIVE
         if entry.get_type() == ChannelType.LIVE:
-            entry.channel = "linein_" + entry.source.split("line://")[1]
+            channel_num = entry.source.split("line://")[1]
+            entry.channel = Channel["LIVE_"+channel_num]
             is_ready = True
         else:
             # Choose and save the input channel
@@ -303,17 +304,18 @@ class SoundSystem():
             self.active_channel[entry.get_type()] = entry.channel
 
             # Dear filesystem channels, please leave the room as you would like to find it!
-            if entry.previous_channel and entry.previous_channel in ChannelType.FILESYSTEM.channels:
-                def clean_up():
-                    # Wait a little, if there is some long fade-out. Note, this also means,
-                    # this channel should not be used for at least some seconds (including clearing time).
-                    time.sleep(2)
-                    self.enable_transaction()
-                    self.channel_activate(entry.previous_channel.value, False)
-                    res = self.playlist_clear(entry.previous_channel)
-                    self.logger.info("Clear Queue Response: " + res)
-                    self.disable_transaction()
-                Thread(target=clean_up).start()
+            if hasattr(entry, "previous_channel"):
+                if entry.previous_channel in ChannelType.FILESYSTEM.channels:
+                    def clean_up():
+                        # Wait a little, if there is some long fade-out. Note, this also means,
+                        # this channel should not be used for at least some seconds (including clearing time).
+                        time.sleep(2)
+                        self.enable_transaction()
+                        self.channel_activate(entry.previous_channel.value, False)
+                        res = self.playlist_clear(entry.previous_channel)
+                        self.logger.info("Clear Queue Response: " + res)
+                        self.disable_transaction()
+                    Thread(target=clean_up).start()
             
             # Filesystem meta-changes trigger the event via Liquidsoap
             if not entry.channel in ChannelType.FILESYSTEM.channels: