use cmd_sync