fixed a bug that prevented ingredients from being added