get rid of global leaks.