removed cv2.write
fixed merge problem