fix stockscore overflow