bug fixed for ratingSystem