set headbar, but big bug