fix compile (nw)