ka24de vacuum lines

i tried hooking u hooking up all of my vacuum lines from a vacuum schematic but the pictures suck…my car is still idleing like shit and when i took it out of the other car it was fine, when it heats up it runs better and doesnt stall out but it stilll burps up and down when im stopped a lot, is this the timing or could somebody close by riuchmond hill show me their engine so i can hook up the lines right