scope lookups transform undef to string