I have bad reactions to foods with msg in it - used to be very prevalent in chinese recipies, but I think they've toned it down considerably after realizing a lot of people have bad reactions to it. You may want to watch carefully what is triggering the headaches, and compare ingredients, as it's also possible you're developing an allergy to something.