index from global table as it might be needed for Lua 5.2