Double check all of the wires and pins have been properly soldered. Add pieces of heat shrink tubing (or tape) to keep the wires bundled together.