fixed the score issue