Fix nms imports - change all R1 references to R2