fixed a bug so that sumCorrelation works properly when .bin files are saved