fixed compile (nw)