Fixes score bug