Fixed smelting stuff.