small error fix & score sql change