Fix the label bar empty issue.