Fix replace.