repair header for sp