Insect repellant strips away clear coat on paint

My nephew and I applied OFF bug spray before handling his soap box derby car and noticed a while later, a black gummy substance on the derby car. It took a lot of rubbing to finally get it off. As near as we could figure the bug spray ate the wax on the car. To this day we haven't used bug spray around the car or at the track.