Correction of heading