fixed bug related to NoneType has no attribute highscore