changed some things to reslove problem with crafting