fixed error where it wasnt calculating score