Fix typo in the replace statement