fix canny demo