fix the library error