Fixed small issue in parse_cmd after merge.