Vauxhall Vectra B - 00' Vauxhall VectraB 2.0 Petr low revs cutting out - jaylb3

Vectra keeps cutting out at low revs due to needing to re earth the MAF (Mass Air Flow) Sensor but the problem i have is where to earth it to, and what size earth wire do i use?

I'm a trainee mechanic so pictures may help but if theres non available then it's no major problem.

Vauxhall Vectra B - 00' Vauxhall VectraB 2.0 Petr low revs cutting out - elekie&a/c doctor

Poor earth circuit to the maf sensor only affects the 1.6 and 1.8 engines.Yours seems to be a 2.0.Is that correct?

Vauxhall Vectra B - 00' Vauxhall VectraB 2.0 Petr low revs cutting out - jaylb3
Sorry I've been away for sometime, haven't been able to access the internet, but yes that is correct, a 2.0 litre, engine code is x20xev, the ecotec engine, if it only effects the 1.6 and 1.8 then what can be the problem, I've replaced the sensor itself, replaced the egr valve as I've had problems before, done the spark leads though they were fine and done a full service.