fixing header display bug