finish cmd sync