fixes accidental global