fix warnings about missing Global

1 job for master in 21 minutes and 46 seconds (queued for 22 seconds)