replace nb host with nw