remove dependency of nw.cmd