simplify cmd