- fix some NewDIWE bugs