cmd parsing workin