fix replacement typo's