refactor command parse
test command parse