fixed ratings bug