cleanup all libraries