preventing ratings from being greater than 100