added workaround for table indexes in globals.lua