fix header cut