fix material purchasings