I've figured something out when I click an item and then it creates an item in the inv slot it just looks at the instance variable of the first item created and then has the same issue
EX:Deleted the brick so now remote is the first created
EX:Deleted the remote now bar is first
EX:Deleted the bar now meat is first