fix Sync command