check the crankcase valve pipes as they collapse and engine compensates for the problem by increasing revs.depending on engine type its either going to be a thinnish pipe at the back of the manifold that goes to under the coil pack or inbetween the inlet manifold as a y style vaccum hose