Fix Lua Bug