diff --git a/src/main/java/org/olat/ims/qti21/ui/editor/UnkownItemEditorController.java b/src/main/java/org/olat/ims/qti21/ui/editor/UnkownItemEditorController.java
index db18e4f393d92172f8028979fb3e63dc8b7afbd1..cb8f7a7ac603f225955b1b821c570b172240962e 100644
--- a/src/main/java/org/olat/ims/qti21/ui/editor/UnkownItemEditorController.java
+++ b/src/main/java/org/olat/ims/qti21/ui/editor/UnkownItemEditorController.java
@@ -24,6 +24,7 @@ import java.net.URI;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
+import java.util.Random;
 
 import org.olat.core.gui.UserRequest;
 import org.olat.core.gui.components.form.flexible.FormItem;
@@ -161,8 +162,11 @@ public class UnkownItemEditorController extends FormBasicController {
         final ItemSessionController sessionController = new ItemSessionController(qtiService.jqtiExtensionManager(),
                 itemSessionControllerSettings, itemProcessingMap, itemSessionState);
         sessionController.addNotificationListener(new NotificationRecorder(NotificationLevel.ERROR));
-
+        
+        Long randomSeed = new Random().nextLong();
+        sessionController.setRandomSeed(randomSeed);
         sessionController.initialize(new Date());
+        sessionController.performTemplateProcessing(new Date());
         return sessionController;
     }