Problems with a capacitor on a dc motor

I have a dc motor with a capacitor on it. The capacitor has the number 104. I want the motor to go forward and backward with a H-brigde (L293D). It goes forward, but when I want to turn it, it won't. I exchanged the wires and then it goes backwards but when I wanted to turn, it won't.
Can somebody help me?
Is it fixed when I just don't use the capacitor?

I see the fault. There went something wrong in my sketch.

robbeserry:
I have a dc motor with a capacitor on it. The capacitor has the number 104. I want the motor to go forward and backward with a H-brigde (L293D). It goes forward, but when I want to turn it, it won't. I exchanged the wires and then it goes backwards but when I wanted to turn, it won't.
Can somebody help me?
Is it fixed when I just don't use the capacitor?

When the motor rotates, the brushes pressing on the armature segments produce tiny sparks. Those sparks are noise which interferes with the electronics in area. The capacitor provides a direct path to short circuit and vastly reduce the sparks and noise. It needs to be there.

Paul