fixing header overflow