remove retained SQL statements in scoreCache, make them local