fix bug for empty amounts on ingredients