finish headbar.