fix header print