correct misspelling of Replace (originally replac)