Fix user rating problem.
Fix rating math.