Local var not passing information first time around

i have a temp variable for my slot icon. which i use to store the hovered slot information when swapping slots. but problem is when you first swap a lot the variable goes null.
now i have tested this by breaking my struct and making one from the set node but it still returns null on first swap so im kinda at a loss as why this is doing that. any help on this would be great.