Changed residual back