Fix total rating
bugfix