diff --git a/tools/anonymize_db.py b/tools/anonymize_db.py
index 2c416038a4ae0b70f93aef3e5abee7db8e9a2374..fee27180777d502d4a142b543e3cad0ffb006a8d 100755
--- a/tools/anonymize_db.py
+++ b/tools/anonymize_db.py
@@ -127,7 +127,7 @@ def anonymize_column(cursor, tablecolumn):
 
 
 def rename_students(cursor):
-    """Remet des noms/prenoms fictifs aux étuduiants"""
+    """Remet des noms/prenoms fictifs aux étudiants"""
     # Change les noms/prenoms
     cursor.execute("""SELECT * FROM "identite";""")
     etuds = cursor.fetchall()
@@ -140,7 +140,7 @@ def rename_students(cursor):
             """,
             {
                 "id": etud["id"],
-                "nom": nom,
+                "nom": nom.upper() if nom else "",
                 "prenom": prenom,
             },
         )