Fix typo

Changed "remove" to "replace".