improve the library dependence