removed canny_video_bad code