fixed pledge count bug