tweaks to plot to fix disappearing global