main settings rework