fix for detectGlobals, --bare
5.0.5