fixed the caller_global extraction