revert str_replace