What engine is it?
There are two ways of getting rid of the EGR – disconnecting (usually cause an EML light on) or blanking it off which in many cars will flag the EML as well, as the MAF sensor reads that there isn’t enough air getting to an engine (especially diesels).
I would try and clean it properly.