fixes depricated getSetting