fix sync settings.