fix debug build (nw)