I got rid of my code p0171 and I had a vaccum leak so I'm assuming you definitely have one. So you got the brake booster line, then pcv, and that vaccum plug thing. Make sure all the little red vac lines are hooked up just follow them. Also there is the egr tube to the intake manifold o-ring...