fixed highscore calculation