fix the settings when the library not avaliable.