diff --git a/src/core/js/annotation.js b/src/core/js/annotation.js
index 7f9c72807bf0ee9abbe5c16654e331241de4634a..2ddb8ab2ccb61af3980ee59f6e51c6bdf8aada6c 100644
--- a/src/core/js/annotation.js
+++ b/src/core/js/annotation.js
@@ -117,7 +117,7 @@ this.annotation = new function() {
 
     this.createError = function(error) {
         var ret = $('<div class="alert alert-danger caosdb-new-comment-error alert-dismissable">' +
-            '<button class="btn-close" data-bs-dismiss="alert" aria-label="close">×</button>' +
+            '<button class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>' +
             '<strong>' + error.name + '!</strong> ' + error.message + '<p class="small"><pre><code>' +
             (error.stack ? error.stack : "") + '</code></pre></p></div>')[0];
         return ret;