fix bitcoin averager