Aha
I see the problem with placing the smelter first