fix legacy typo