fixed debug build (nw)