Fixing SDC issue 74

this fixes a very anoying bug
in which a closure in which there is no outer Variable referenced causes sdc to segfault