rating fix

a fix to the rating system