My car does this as well when it is cold. Usually I will start it, back out of the garage and when I put it back in park it will idle up and down for a few seconds. If I give it a tiny bit of gas it goes away right away.