Removed global var 'next_stats'