first little fix for the globals