move to settings.util