done  it was actually an annoying behavior of the template system returning some invalid value when looking up undefined global variables  which is never helpful the behavior is now the same when testing for existence  if global  foo returns false if undefined but it does not require the extra test as in if  foo global  foo  foo else end anymore  just global  foo  