diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua
index 16edd3b39bd5e7567a4250a1fd24afde8b164b1b..9b28e7f5e4b85d8f58984c081ba53dd920496129 100644
--- a/game/modules/tome/class/Object.lua
+++ b/game/modules/tome/class/Object.lua
@@ -673,8 +673,8 @@ function _M:getTextualDesc(compare_with, use_actor)
 					if type(message) == 'function' then
 						desc:add(message(l and l[3], r and r[3] or 0), true)
 					elseif type(message) == 'string' then
-						prefix = '* '
-						color = 'WHITE'
+						local prefix = '* '
+						local color = 'WHITE'
 						if l and not r then
 							color = 'GREEN'
 							prefix = '+ '
@@ -755,7 +755,7 @@ function _M:getTextualDesc(compare_with, use_actor)
 			end
 		)
 
-		found = false
+		local found = false
 		for i, v in ipairs(compare_with or {}) do
 			if v[field] and v[field].no_stealth_break then
 				found = true