Car running poorly when cold

I worked on the ground on the ECU last night and it seem to have sovled the problem.
I am going to pul plugs and check the gap.
Thanks eveyone for the help