fix headbar bug

fix headbar bug