restructure settings.