delete corr-array in the end