vacuum leak at throttle shaft?

I had a leak at the dead end of a throttle shaft on a Keihin , wallowed out bad. I glued a toothpaste cap to end so the shaft was still moveable. Thing idled like it was new again.
How did you keep the toothpaste in the tube once you used the cap for the carb????