fixes error in stocks/by_season
fixes error in stocks/by_season