remove unused cmd_len
add history command