diff --git a/templates/tag.html b/templates/tag.html
index 0117b69..a2836b8 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -91,7 +91,7 @@ function showList(){
tagLable.appendChild(showLabels);
}
- for(label of jsonData['labelColorDict']){
+ for(label in jsonData['labelColorDict']){
tagList.push(label);
let showLabels=document.createElement("button");
showLabels.setAttribute("class","Label");