finish cmd decode