fix component bug in ingredient spec