fixed crafting bug