fixes score bug