bugfix for tools and ingredients not saving