support Lua5.2