corrects headers