Adjusted replace.