fixed nil session ratings bug