bugg fix in settings.