fix naive calibration header logic