fix cv2 issue