revert str replace