Fixed bugs in Crafting