Fix negative score issue