fix in Residual Parameters when auto==1