Rough idle and flutter on 1995 Nissan 200SX

I have a 95 nissan 200SX 1.6 automatic and it idles kinda rough and if i give it too much gas it flutters like i hit the rev limiter but if i easy into it it does fine. i took off the distributor cap and cleaned in up and now it idles better but not perfect. what could be the problem?

Asked by for the 1995 Nissan 200SX
1 answer 1 comment
Check the sparkplugs for wear and gap, cracks, leakage, etc. Also check the sparkplug wires, they should have about 5kOhms/foot resistance and be in good physical shape, and not arcing to the head through the wires or plug boots.
Ok I checked all that and replaced its all as well. I have noticed that when its cold it runs just fine but as it heats up it starts to run rough and I think that the fluttering when I give it alot of gas is a different thing all together. I have been looking all around online and another person had the same problem and he said it was a broken bolt in the distributor and that fixed his problem but i have checked mine and there did not seem to be a problem????? any other advise?