fix the library settings