corrected cv2_withR