fix scoring problem