Check the AAV next to the fuel rail... its the valve that has a small hose that runs to the intake. Check to be sure the hose going to the IM isnt damaged... or the plastic body of the AAV isnt cracked... it could give you an erratic idle...