debug build fix compile (nw)