fix error in settings