correct typos in the Replace chapter.