Fix Global Leaks