diff --git a/create/views.py b/create/views.py
index 4aa5c39..e98b578 100644
--- a/create/views.py
+++ b/create/views.py
@@ -219,6 +219,7 @@ def create_instance(request, compute_id, arch, machine):
if data['cache_mode'] not in conn.get_cache_modes():
error_msg = _("Invalid cache mode")
error_messages.append(error_msg)
+
if 'UEFI' in data["firmware"]:
firmware["loader"] = data["firmware"].split(":")[1].strip()
firmware["secure"] = 'no'
diff --git a/vrtManager/create.py b/vrtManager/create.py
index a889d69..4f234c8 100644
--- a/vrtManager/create.py
+++ b/vrtManager/create.py
@@ -209,7 +209,7 @@ class wvmCreate(wvmConnect):
xml += """"""
if 'pae' in caps["features"]:
xml += """"""
- if 'yes' == firmware["secure"]:
+ if 'yes' == firmware.get("secure", 'no'):
xml += """"""
xml += """"""