fix -h can't send && code refacoring