L293D overheated but not burned !! what's the solution ?

Grumpy_Mike:
Try a ceramic 0.1uF cap across the power supply to the chip it might be oscillating.

so i remove the 100 uF and put a 0.1uF ceramic cap instead ?