fix diffcorr data counter bug