fixing auto generate user ratings