clean nms