diff --git a/app/templates/add_new_tuto.html b/app/templates/add_new_tuto.html
index 5c10fece2e66fee9b88cdfa0242e7598102b04d8..e7972526d0264287891fe4babab83a9094e86d53 100644
--- a/app/templates/add_new_tuto.html
+++ b/app/templates/add_new_tuto.html
@@ -190,7 +190,7 @@
 			}
 		});
 
-		hierarchy.is_active = create_empty_tab(this.all_labels.length)
+		hierarchy.is_active = create_empty_tab(hierarchy.all_labels.length);
 
 	</script>