Fixed returned df_w/ds value from residual