There may be a pinched wire somewhere, or one of the wires has been internally separated. Sometimes if the wires get stressed too bad, the wire can come apart inside the casing without you realising it, causing intermittant operation. Especially if the problem seems to occur after a particularly nasty crash or hit.