Vacuum leaks must be addressed before
anything else. Period. If they are not soft, replace them. Don't mess around over $40 in hoses. They develop cracks in places that are completely out of sight....
....hours and hundreds of dollars later you end up having adjusted multiple items only to find you have to "attempt" to reverse it all because vacuum leaks where throwing you off the entire time.
Here is a DIY on the idle air hoses since they can be tricky: