fix header hashes