Could be the accelerator pedal sensor.
You will appreciate their is not physical connection cable etc so you are reliant on the sensors.
However it could be connected with fuel flow, has the fuel filter been replaced at the prescribed periods also the air filter all have a part to play and need to be clean condition.
http://www.aclassinfo.co.uk/mypage.12.htm
& page 16