bug correction to keep best scores