compile fix (nw)