fixed global score calc