Removes accidental globals