Fix canny variable