Another fan fix -- added global statement to action.