ingredient validation