some bug fixes in score caching