Fix replacing typo (#688)