GUI dropdown not working despite exact code working elsewhere

So in my GUI I have a scrollframe set up with some drop down rows in 2 different segments of the GUI,
in the first segment (primary) the GUI works fine as seen here: Screenshot by Lightshot

Where as in the second segment (secondary) it looks like this: Screenshot by Lightshot

This is general code before splitting into 2 segments:

local PADDING_X = 0

local DROPDOWN_Y = 0.07

local DROPDOWN_X = 0

local item1 = primary:WaitForChild(“Item1”)

local item2 = secondary:WaitForChild(“Item1”)

local box

local numRows = 1

This is the code for primary:

for i = 1,numberOfItems,1 do

if i == 1 then
	-- Starting, so fill in Item1
	box = item1
else

	box = item1:Clone()
	box.Name = "Item"..i
	box.Parent = primary

	if (i-1) / (1*numRows) == 1 then
		numRows = numRows + 1
		box.Position = UDim2.new(PADDING_X,0,box.Position.Y.Scale,0) + UDim2.new(0,0,DROPDOWN_Y*(numRows-1),0)
	else
		box.Position = primary["Item"..(i-1)].Position + UDim2.new(DROPDOWN_X,0,0,0)
	end
end

And this is for secondary:

for i = 1,numberOfItems2,1 do

if i == 1 then
	-- Starting, so fill in Item2
	box = item2
else

	box = item2:Clone()
	box.Name = "Item"..i
	box.Parent = secondary

	if (i-1) / (1*numRows) == 1 then
		numRows = numRows + 1
		box.Position = UDim2.new(PADDING_X,0,box.Position.Y.Scale,0) + UDim2.new(0,0,DROPDOWN_Y*(numRows-1),0)
	else
		box.Position = secondary["Item"..(i-1)].Position + UDim2.new(DROPDOWN_X,0,0,0)
	end
end