Sometime the connection to the battery is not that strong...I had a friend that had that problem with his civic..when they did the gsr swap they broke the connector to the battery, and his idle was not strong at all...Once he fixed it his idle was rock steady....