fix for problem when evaluating the global context