Vacuum advance issue

34 timing is 3400 rpm without advance in park. Runs great without the vacuum advance. I’ve hooked light up to it when I hood the vacuum advance up. As soon as I hit the throttle with the vacuum advance hooked up it starts pinging and the timing mark shoots off the light to the right. Timing at idle doesn’t change