Rectify
late Middle English: from Old French rectifier, from medieval Latin rectificare, from Latin rectus ‘right’.
wiktionary
From Middle English rectifien, from Anglo-Norman rectifiier, rectefier(“to make straight”), from Medieval Latin rēctificō(“to make right”), from Latin rēctus(“straight”).
etymonline
rectify (v.)
c. 1400, rectifien, "to cure, heal, remedy" (a bad or faulty condition); early 15c. "set (someone) straight in conduct or behavior;" late 15c., "correct an error, set (something) straight or right;" from Old French rectifier, literally "to make straight" (14c.), from Late Latin rectificare "make right, make straight," from Latin rectus "straight" (from PIE root *reg- "move in a straight line," with derivatives meaning "to direct in a straight line") + combining form of facere "to make" (from PIE root *dhe- "to set, put"). Sense of "remove impurities from a distillate" is from mid-15c. Related: Rectified; rectifying.