diff --git a/AKModel/templates/admin/AKModel/room_change_form.html b/AKModel/templates/admin/AKModel/room_change_form.html
index aac03532656c41b442bfae811350c08719df10f0..a8db36712924aa9a1e911d6b1ffba2560c86fa92 100644
--- a/AKModel/templates/admin/AKModel/room_change_form.html
+++ b/AKModel/templates/admin/AKModel/room_change_form.html
@@ -7,18 +7,20 @@
 {% block extrahead %}
     {{ block.super }}
     {% bootstrap_javascript jquery='slim' %}
-    {% include "AKModel/load_fullcalendar_availabilities.html" %}
+    {% if original.event %}
+        {% include "AKModel/load_fullcalendar_availabilities.html" %}
 
-    <script>
-        {% get_current_language as LANGUAGE_CODE %}
+        <script>
+            {% get_current_language as LANGUAGE_CODE %}
 
-        document.addEventListener('DOMContentLoaded', function () {
-            createAvailabilityEditors(
-                '{{ original.event.timezone }}',
-                '{{ LANGUAGE_CODE }}',
-                '{{ original.event.start | timezone:original.event.timezone | date:"Y-m-d H:i:s" }}',
-                '{{ original.event.end | timezone:original.event.timezone | date:"Y-m-d H:i:s" }}'
-            );
-        });
-    </script>
+            document.addEventListener('DOMContentLoaded', function () {
+                createAvailabilityEditors(
+                    '{{ original.event.timezone }}',
+                    '{{ LANGUAGE_CODE }}',
+                    '{{ original.event.start | timezone:original.event.timezone | date:"Y-m-d H:i:s" }}',
+                    '{{ original.event.end | timezone:original.event.timezone | date:"Y-m-d H:i:s" }}'
+                );
+            });
+        </script>
+    {% endif %}
 {% endblock %}
diff --git a/AKModel/views.py b/AKModel/views.py
index dde2d17fd8b3165b703370fd9e57ee2044448cc0..973ef0c83cb8173664d6e74480eabfc05ae46e4c 100644
--- a/AKModel/views.py
+++ b/AKModel/views.py
@@ -586,25 +586,32 @@ class RoomBatchCreationView(EventSlugMixin, IntermediateAdminView):
 
     def form_valid(self, form):
         from django.apps import apps
-        VIRTUAL_ROOMS_SUPPORT = False
-        if apps.is_installed("AKOnline"):
-            VIRTUAL_ROOMS_SUPPORT = True
-            from AKOnline.models import VirtualRoom
-
+        virtual_rooms_support = False
         created_count = 0
 
         rooms_raw_dict: csv.DictReader = form.cleaned_data["rooms"]
+
+        if apps.is_installed("AKOnline") and "url" in rooms_raw_dict.fieldnames:
+            virtual_rooms_support = True
+            from AKOnline.models import VirtualRoom
+
         for raw_room in rooms_raw_dict:
             name = raw_room["name"]
             location = raw_room["location"] if "location" in rooms_raw_dict.fieldnames else ""
             capacity = raw_room["capacity"] if "capacity" in rooms_raw_dict.fieldnames else -1
-            url = raw_room["url"] if "url" in rooms_raw_dict.fieldnames else ""
 
             try:
-                if VIRTUAL_ROOMS_SUPPORT and url != "":
-                    VirtualRoom.objects.create(name=name, location=location, capacity=capacity, url=url, event=self.event)
+                if virtual_rooms_support and raw_room["url"] != "":
+                    VirtualRoom.objects.create(name=name,
+                                               location=location,
+                                               capacity=capacity,
+                                               url=raw_room["url"],
+                                               event=self.event)
                 else:
-                    Room.objects.create(name=name, location=location, capacity=capacity, event=self.event)
+                    Room.objects.create(name=name,
+                                        location=location,
+                                        capacity=capacity,
+                                        event=self.event)
                 created_count += 1
             except django.db.Error as e:
                 messages.add_message(self.request, messages.WARNING,