diff --git a/projects/common/ui-elements/likert/likert-element.ts b/projects/common/ui-elements/likert/likert-element.ts
index ddb36837f2f651865ff3da2ead52347c99fd4720..a4d9144e1ceb588fee6d568e3cc598e052e914bf 100644
--- a/projects/common/ui-elements/likert/likert-element.ts
+++ b/projects/common/ui-elements/likert/likert-element.ts
@@ -37,8 +37,15 @@ export class LikertElement extends CompoundElement implements PositionedElement,
 
     this.height = serializedElement.height || 200;
     this.width = serializedElement.width || 250;
+    if (serializedElement.marginBottom !== undefined) {
+      this.positionProps.marginBottom = serializedElement.marginBottom;
+    } else if (serializedElement.positionProps?.marginBottom !== undefined) {
+      this.positionProps.marginBottom = serializedElement.positionProps.marginBottom;
+    } else {
+      this.positionProps.marginBottom = 30;
+    }
     this.surfaceProps.backgroundColor =
-      (serializedElement as unknown as SurfaceElement).surfaceProps.backgroundColor as string ||
+      (serializedElement as unknown as SurfaceElement).surfaceProps?.backgroundColor as string ||
       serializedElement.backgroundColor as string ||
       'transparent';
   }
diff --git a/projects/common/ui-elements/radio/radio-button-group-element.ts b/projects/common/ui-elements/radio/radio-button-group-element.ts
index 01e429e9d3a2fa8e4e12b13eac491a902603b6a3..6dffa64ac721fee8059e4d6f6aec542775ed4c90 100644
--- a/projects/common/ui-elements/radio/radio-button-group-element.ts
+++ b/projects/common/ui-elements/radio/radio-button-group-element.ts
@@ -26,6 +26,13 @@ export class RadioButtonGroupElement extends InputElement implements PositionedE
     this.surfaceProps = initSurfaceElement(serializedElement);
 
     this.height = serializedElement.height || 85;
+    if (serializedElement.marginBottom !== undefined) {
+      this.positionProps.marginBottom = serializedElement.marginBottom;
+    } else if (serializedElement.positionProps?.marginBottom !== undefined) {
+      this.positionProps.marginBottom = serializedElement.positionProps.marginBottom;
+    } else {
+      this.positionProps.marginBottom = 30;
+    }
     this.surfaceProps.backgroundColor =
       serializedElement.surfaceProps?.backgroundColor as string ||
       serializedElement.backgroundColor as string ||