fixed bug when showing ingredients form.