fix bug in dump CorrPot