Fixed the Sync option to work correctly