Fixes an error in settings.