corrected typo LEGACY to