removed global leaks
removed global leaks