fix header partial file