fix scopes of scopes ;-)
Use macros to get globlas
properly throw our exception.