changed the way I pull average rating