Fixed variable name error in settings.