allow compatibility with Lua 5.2