fix ratings controller