reliers.count bug fix