bugfix for h3c prompt.