diff --git a/src/sunstone/public/js/plugins/vms-tab.js b/src/sunstone/public/js/plugins/vms-tab.js
index fa20623b4f..3eb87ae195 100644
--- a/src/sunstone/public/js/plugins/vms-tab.js
+++ b/src/sunstone/public/js/plugins/vms-tab.js
@@ -101,7 +101,7 @@ var create_vm_tmpl =
\
\
CPU architecture to virtualization
\
\
@@ -1652,7 +1652,8 @@ function setupCreateVMDialog(){
notifyError("There are mandatory fields missing in the OS Boot options section");
return false;
};
- addSectionJSON(vm_json,scope);
+ vm_json["OS"] = {};
+ addSectionJSON(vm_json["OS"],scope);
//process disks -> fetch from box
scope = section_disks;