Fix auto_sync command