quick refactoring in settings