RE: SPE 40cc
Before you run out and buy a new unit just make sure that the internal carb screen is not blocked as when that happens it gives the very same problem.
CH Electronics manufacturers excellent ignition systems and makes a model that is a replacement for your original unit.
Karol