small changes to dWincr