patch ns resolution