diff --git a/index.html b/index.html
index a2463d0..232e135 100644
--- a/index.html
+++ b/index.html
@@ -230,6 +230,10 @@
const numCurses = document.querySelectorAll("#curses .input-group").length - 1;
const tag = div.querySelector("select").value;
+ if (!tag) {
+ return;
+ }
+
if (div.parentNode.id == "buffs") {
div.querySelector(".left-value").valueAsNumber = floatToLeftValue(RivenParser.unparseBuff(
rivenType,