Fix when to display header