Fix header bytes