fixed error with ingredients saving