fix display issue: <span class=caret></span>