fixed contribution count bug