another Lua stack overflow fix