fix bug on score