fixed session[:ratings] initialization