fixed bug around ratings_submit