fix replacement.