correction for dirty wm.