make canny-var optional