I tried everything I could think of, coffee can, caps on inputs and even caps on the rails them selves each one hellped a little bit more but not 100%. Finally I found another person who had the same problem. he suggested all the things I tried as well as explaining that the spikes were way faster then the cars. I programmed in a 7 us delay after the first signal is recieved and then wait and see if it is still there after and it worked. I could even take the board out of the coffee can. I am learning a schematic cad program and will post everything when I am done. Thanks to everyone who helped I am adding a relay start and programmed sound so Im sure I will be back .
Snap