deleted unused deps
removed more global leaks