You want the cable to extend up and out to the right in a big loop and then turn under the airbox and go straight to the pedal. You don’t want any hard turns or friction. also, you should have some kind of return spring on the pedal, don’t depend on the carb spring alone. At the engine end is the cable housing held firm with a brass fitting or does it just slide into a small cup? If it’s a loose cup you need to put a piece of fuel tubing over it to keep it straight at the joint.
The cable length is also critical, too short and the carb will hang open.