fixed submit_ratings for heroku