clean up libs