Fixed uninitialized top_scores variable