remove unnecessary the library.