fix header overflow