fixed rating bug