diff --git a/app/scodoc/sco_semset.py b/app/scodoc/sco_semset.py
index 1f35afae7..e8be6bd6c 100644
--- a/app/scodoc/sco_semset.py
+++ b/app/scodoc/sco_semset.py
@@ -158,7 +158,7 @@ class SemSet(dict):
 
         ndb.SimpleQuery(
             """INSERT INTO notes_semset_formsemestre 
-            (id, semset_id) 
+            (formsemestre_id, semset_id) 
             VALUES (%(formsemestre_id)s, %(semset_id)s)
             """,
             {