fix/Minor bug in score calculator