fixed bug with crafting