diff --git a/vlib/net/html/data_structures.v b/vlib/net/html/data_structures.v
index fb7a9657d0..788682dbe1 100644
--- a/vlib/net/html/data_structures.v
+++ b/vlib/net/html/data_structures.v
@@ -1,6 +1,6 @@
module html
-const null_element = int(0x80000000)
+const null_element = int(-1)
struct Stack {
mut: