Correct residual copy problem