fix avg rating