correct a replacement issue