Table not working correctly

local UIS = {PlayerGui.PhonesFrame.ItemFrame:GetChildren(),
PlayerGui.InventoryFrame.PetsItemFrame:GetChildren(),
PlayerGui.MainButtons:GetChildren(),
PlayerGui.BottomButtons:GetChildren(),
PlayerGui.CodesFrame:GetChildren(),
PlayerGui.RebirthFrame:GetChildren()}

for i,T in UIS do
for i,v in T do
print(v)
end
end

The last thing it prints out is PlayerGui.CodesFrame:GetChildren().